package com.superpai.response.item;

import java.util.List;

import com.superpai.domain.Extend;
import com.superpai.domain.ParsedAttr;
import com.superpai.domain.Stock;
import com.superpai.response.PaiPaiResponse;
import com.superpai.utils.StringUtils;

/**
 * @author Devin.Hu
 * @date 2011-9-9
 * @version V1.0
 * @description 商品信息类
 */
public class GetItemResponse extends PaiPaiResponse {

	/** string 商品编码 **/
	private String itemCode;
	/** string 商品名称1-60字节 **/
	private String itemName;
	/** string 合作商家的私有商品编码 **/
	private String itemLocalCode;
	/**
	 * string 商品状态 “IS_FOR_SALE”：上架销售。 “IS_IN_STORE”：放入仓库。
	 * “IS_SALE_ON_TIME”：定时上架
	 **/
	private String itemState;
	/** string 商品状态编码 **/
	private String stateCode;
	/** string 商品状态描述 **/
	private String stateDesc;
	/** 推荐搭配商品编码，多个以‘|’号隔开 **/
	private String relatedItems;
	/** number 商品属性 **/
	private String itemProperty;
	/** string 商品属性串(拍拍助理) **/
	private String properties;
	/** number 商品库存数量 **/
	private String stockCount;
	/** number 商品价格 **/
	private String itemPrice;
	/** string 商品的市场参考价格，只对QQ会员特权卖家有效。 **/
	private String marketPrice;
	/** String 快递价格 **/
	private String expressPrice;
	/** String ems价格 **/
	private String emsPrice;
	/** String 平邮价格 **/
	private String mailPrice;
	/** string 商品所属的店铺分类id **/
	private String categoryId;
	/** number 商品所属的拍拍类目id **/
	private String classId;
	/** String 商品所在城市 **/
	private String cityId;
	/** String 商品id **/
	private String productId;
	/** String 所在省 **/
	private String provinceId;
	/** String 国家 **/
	private String countryId;
	/** String quick **/
	private String quick;
	/** String quick **/
	private String freeReturn;
	/** string 商品属性信息 **/
	private String attr;
	/** string 自定义属性字符串 **/
	private String customAttr;
	/** 商品属性 **/
	private List<ParsedAttr> parsedAttrList;
	/** string 商品扩展属性列表 **/
	private List<Extend> extendList;
	/** number 购买限制，0，表示不限制 **/
	private String buyLimit;
	/** 商品详情 **/
	private String detailInfo;
	/** 移动信息 **/
	private String mobileInfo;
	/** number 运费模版Id **/
	private String freightId;
	/** number **/
	private String codId;
	/** number 是否14天先行赔付诚信保证商品 **/
	private String guarantee14Days;
	/** number 是否7天包退诚信保证商品 **/
	private String guarantee7Days;
	/** number 是否假一赔三诚信保证商品 **/
	private String guaranteeCompensation;
	/** number 是否保修商品 **/
	private String guaranteeRepair;
	/** number 是否提供发票 **/
	private String invoiceItem;
	/** date 发布时间 yyyy-MM-dd HH:mm:ss **/
	private String createTime;
	/** date 最近修改时间 yyyy-MM-dd HH:mm:ss **/
	private String lastModifyTime;
	/** date 最近上架时间 yyyy-MM-dd HH:mm:ss **/
	private String lastToSaleTime;
	/** date 最近下架时间 yyyy-MM-dd HH:mm:ss **/
	private String lastToStoreTime;
	/** string 支付类型 **/
	private String payType;
	/** string 出售类型 **/
	private String sellType;
	/** string 商品图片 **/
	private String picLink;
	/** string 商品图片 **/
	private String picLin1;
	/** string 商品图片 **/
	private String picLin2;
	/** string 商品图片 **/
	private String picLin3;
	/** string 商品图片 **/
	private String picLin4;
	/** number 商品折扣。请求参数extendInfo=1时有效 **/
	private String qqvipDiscount;
	/** number 是否QQ会员商品1是0否。请求参数extendInfo=1时有效 **/
	private String qqvipItem;
	/** number 是否推荐商品 0：否 1：是 **/
	private String recommendItem;
	/** string 地区信息 **/
	private String regionInfo;
	/** number 修改次数 **/
	private String reloadCount;
	/** String 是否为二手商品 1是 0否 **/
	private String secondHandItem;
	/**
	 * number 买家或卖家承担运费 卖家或者买家承担运费的情况 1 卖家承担运费 2 买家承担运费 3 同城交易，无需运费 大于或等于10
	 * 买家承担运费，表示支持运费模板，该值即为运费模板ID
	 **/
	private String sellerPayFreight;
	/** string 商家昵称 **/
	private String sellerName;
	/** string 卖家QQ号 **/
	private String sellerUin;
	/** string 商品详情页面颜色主题 **/
	private String theme;
	/** number 上架时长，单位为秒 **/
	private String validDuration;
	/** number 商品被访问次数 **/
	private String visitCount;
	/** number 近期销售的商品数量 **/
	private String soldCount;
	/** number 销售的商品数量 **/
	private String soldTotalCount;
	/** number 近期销售的订单次数 **/
	private String soldTimes;
	/** number 销售订单的总次数 **/
	private String soldTotalTimes;
	/** number 近期购买商品数量 **/
	private String buyNum;
	/** number 购买商品的总数量 **/
	private String totalBuyNum;
	/** number 近期下单的订单次数 **/
	private String buyCount;
	/** number 下单的订单总次数 **/
	private String totalBuyCount;
	/** number 商品重量 **/
	private String weight;
	/** number 是否橱窗商品 0：否 1：是 **/
	private String windowItem;
	/** string 尺码表id extendInfo=1 时有效 **/
	private String sizeTableId;
	/** 商品库存 **/
	private List<Stock> stockList;
	/** 扩展属性 **/
	private List<Extend> extendInfo;

	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemLocalCode() {
		return itemLocalCode;
	}

	public void setItemLocalCode(String itemLocalCode) {
		this.itemLocalCode = itemLocalCode;
	}

	public String getStateCode() {
		return stateCode;
	}

	public void setStateCode(String stateCode) {
		this.stateCode = stateCode;
	}

	public String getItemState() {
		return itemState;
	}

	public void setItemState(String itemState) {
		this.itemState = itemState;
	}

	public String getStateDesc() {
		return stateDesc;
	}

	public void setStateDesc(String stateDesc) {
		this.stateDesc = stateDesc;
	}

	public String getRelatedItems() {
		return relatedItems;
	}

	public void setRelatedItems(String relatedItems) {
		this.relatedItems = relatedItems;
	}

	public String getItemProperty() {
		return itemProperty;
	}

	public void setItemProperty(String itemProperty) {
		this.itemProperty = itemProperty;
	}

	public String getProperties() {
		return properties;
	}

	public void setProperties(String properties) {
		this.properties = properties;
	}

	public String getStockCount() {
		return stockCount;
	}

	public void setStockCount(String stockCount) {
		this.stockCount = stockCount;
	}

	public String getItemPrice() {
		return StringUtils.getPrice(itemPrice);
	}

	public void setItemPrice(String itemPrice) {
		this.itemPrice = itemPrice;
	}

	public String getMarketPrice() {
		return StringUtils.getPrice(marketPrice);
	}

	public void setMarketPrice(String marketPrice) {
		this.marketPrice = marketPrice;
	}

	public String getExpressPrice() {
		return expressPrice;
	}

	public void setExpressPrice(String expressPrice) {
		this.expressPrice = expressPrice;
	}

	public String getEmsPrice() {
		return emsPrice;
	}

	public void setEmsPrice(String emsPrice) {
		this.emsPrice = emsPrice;
	}

	public String getMailPrice() {
		return mailPrice;
	}

	public void setMailPrice(String mailPrice) {
		this.mailPrice = mailPrice;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getCountryId() {
		return countryId;
	}

	public void setCountryId(String countryId) {
		this.countryId = countryId;
	}

	public String getQuick() {
		return quick;
	}

	public void setQuick(String quick) {
		this.quick = quick;
	}

	public String getFreeReturn() {
		return freeReturn;
	}

	public void setFreeReturn(String freeReturn) {
		this.freeReturn = freeReturn;
	}

	public String getAttr() {
		return attr;
	}

	public void setAttr(String attr) {
		this.attr = attr;
	}

	public String getCustomAttr() {
		return customAttr;
	}

	public void setCustomAttr(String customAttr) {
		this.customAttr = customAttr;
	}

	public List<ParsedAttr> getParsedAttrList() {
		return parsedAttrList;
	}

	public void setParsedAttrList(List<ParsedAttr> parsedAttrList) {
		this.parsedAttrList = parsedAttrList;
	}

	public List<Extend> getExtendList() {
		return extendList;
	}

	public void setExtendList(List<Extend> extendList) {
		this.extendList = extendList;
	}

	public String getBuyLimit() {
		return buyLimit;
	}

	public void setBuyLimit(String buyLimit) {
		this.buyLimit = buyLimit;
	}

	public String getDetailInfo() {
		return detailInfo;
	}

	public void setDetailInfo(String detailInfo) {
		this.detailInfo = detailInfo;
	}

	public String getMobileInfo() {
		return mobileInfo;
	}

	public void setMobileInfo(String mobileInfo) {
		this.mobileInfo = mobileInfo;
	}

	public String getFreightId() {
		return freightId;
	}

	public void setFreightId(String freightId) {
		this.freightId = freightId;
	}

	public String getCodId() {
		return codId;
	}

	public void setCodId(String codId) {
		this.codId = codId;
	}

	public String getGuarantee14Days() {
		return guarantee14Days;
	}

	public void setGuarantee14Days(String guarantee14Days) {
		this.guarantee14Days = guarantee14Days;
	}

	public String getGuarantee7Days() {
		return guarantee7Days;
	}

	public void setGuarantee7Days(String guarantee7Days) {
		this.guarantee7Days = guarantee7Days;
	}

	public String getGuaranteeCompensation() {
		return guaranteeCompensation;
	}

	public void setGuaranteeCompensation(String guaranteeCompensation) {
		this.guaranteeCompensation = guaranteeCompensation;
	}

	public String getGuaranteeRepair() {
		return guaranteeRepair;
	}

	public void setGuaranteeRepair(String guaranteeRepair) {
		this.guaranteeRepair = guaranteeRepair;
	}

	public String getInvoiceItem() {
		return invoiceItem;
	}

	public void setInvoiceItem(String invoiceItem) {
		this.invoiceItem = invoiceItem;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(String lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getLastToSaleTime() {
		return lastToSaleTime;
	}

	public void setLastToSaleTime(String lastToSaleTime) {
		this.lastToSaleTime = lastToSaleTime;
	}

	public String getLastToStoreTime() {
		return lastToStoreTime;
	}

	public void setLastToStoreTime(String lastToStoreTime) {
		this.lastToStoreTime = lastToStoreTime;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getSellType() {
		return sellType;
	}

	public void setSellType(String sellType) {
		this.sellType = sellType;
	}

	public String getPicLink() {
		return picLink;
	}

	public void setPicLink(String picLink) {
		this.picLink = picLink;
	}

	public String getPicLin1() {
		return picLin1;
	}

	public void setPicLin1(String picLin1) {
		this.picLin1 = picLin1;
	}

	public String getPicLin2() {
		return picLin2;
	}

	public void setPicLin2(String picLin2) {
		this.picLin2 = picLin2;
	}

	public String getPicLin3() {
		return picLin3;
	}

	public void setPicLin3(String picLin3) {
		this.picLin3 = picLin3;
	}

	public String getPicLin4() {
		return picLin4;
	}

	public void setPicLin4(String picLin4) {
		this.picLin4 = picLin4;
	}

	public String getQqvipDiscount() {
		return qqvipDiscount;
	}

	public void setQqvipDiscount(String qqvipDiscount) {
		this.qqvipDiscount = qqvipDiscount;
	}

	public String getQqvipItem() {
		return qqvipItem;
	}

	public void setQqvipItem(String qqvipItem) {
		this.qqvipItem = qqvipItem;
	}

	public String getRecommendItem() {
		return recommendItem;
	}

	public void setRecommendItem(String recommendItem) {
		this.recommendItem = recommendItem;
	}

	public String getRegionInfo() {
		return regionInfo;
	}

	public void setRegionInfo(String regionInfo) {
		this.regionInfo = regionInfo;
	}

	public String getReloadCount() {
		return reloadCount;
	}

	public void setReloadCount(String reloadCount) {
		this.reloadCount = reloadCount;
	}

	public String getSecondHandItem() {
		return secondHandItem;
	}

	public void setSecondHandItem(String secondHandItem) {
		this.secondHandItem = secondHandItem;
	}

	public String getSellerPayFreight() {
		return sellerPayFreight;
	}

	public void setSellerPayFreight(String sellerPayFreight) {
		this.sellerPayFreight = sellerPayFreight;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSellerUin() {
		return sellerUin;
	}

	public void setSellerUin(String sellerUin) {
		this.sellerUin = sellerUin;
	}

	public String getTheme() {
		return theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getValidDuration() {
		return validDuration;
	}

	public void setValidDuration(String validDuration) {
		this.validDuration = validDuration;
	}

	public String getVisitCount() {
		return visitCount;
	}

	public void setVisitCount(String visitCount) {
		this.visitCount = visitCount;
	}

	public String getSoldCount() {
		return soldCount;
	}

	public void setSoldCount(String soldCount) {
		this.soldCount = soldCount;
	}

	public String getSoldTotalCount() {
		return soldTotalCount;
	}

	public void setSoldTotalCount(String soldTotalCount) {
		this.soldTotalCount = soldTotalCount;
	}

	public String getSoldTimes() {
		return soldTimes;
	}

	public void setSoldTimes(String soldTimes) {
		this.soldTimes = soldTimes;
	}

	public String getSoldTotalTimes() {
		return soldTotalTimes;
	}

	public void setSoldTotalTimes(String soldTotalTimes) {
		this.soldTotalTimes = soldTotalTimes;
	}

	public String getBuyNum() {
		return buyNum;
	}

	public void setBuyNum(String buyNum) {
		this.buyNum = buyNum;
	}

	public String getTotalBuyNum() {
		return totalBuyNum;
	}

	public void setTotalBuyNum(String totalBuyNum) {
		this.totalBuyNum = totalBuyNum;
	}

	public String getBuyCount() {
		return buyCount;
	}

	public void setBuyCount(String buyCount) {
		this.buyCount = buyCount;
	}

	public String getTotalBuyCount() {
		return totalBuyCount;
	}

	public void setTotalBuyCount(String totalBuyCount) {
		this.totalBuyCount = totalBuyCount;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getWindowItem() {
		return windowItem;
	}

	public void setWindowItem(String windowItem) {
		this.windowItem = windowItem;
	}

	public String getSizeTableId() {
		return sizeTableId;
	}

	public void setSizeTableId(String sizeTableId) {
		this.sizeTableId = sizeTableId;
	}

	public List<Stock> getStockList() {
		return stockList;
	}

	public void setStockList(List<Stock> stockList) {
		this.stockList = stockList;
	}

	public List<Extend> getExtendInfo() {
		return extendInfo;
	}

	public void setExtendInfo(List<Extend> extendInfo) {
		this.extendInfo = extendInfo;
	}
}
